CC = gcc
CXX = g++
CFLAGS = -O2
CXXFLAGS =  -O2

LOADLIBES =  -L.   -lm -lgrace_np  -lgracesc
all: lib Tests

Tests:   TestDriver.cxx Tests.cxx 
	$(CXX) $(CXXFLAGS)  TestDriver.cxx Tests.cxx -o test $(LOADLIBES)

gracesc.o: gracesc.cc gracesc.h

clean:
	rm -f *.o libgracesc.a test

lib: gracesc.o
	ar rcs libgracesc.a gracesc.o
